﻿using System;
using Volo.Abp;

namespace First
{
    class Program
    {
        static void Main(string[] args)
        {

            using (var app = AbpApplicationFactory.Create<FirstModule>())
            {
                app.Initialize();
                var a = app.ServiceProvider.GetService(typeof(ITimeService)) as ITimeService;
                Console.WriteLine(a.GetTime());
                Console.WriteLine("Hello World!");
                Console.ReadKey();
            }
        }
    }
}
